#ifndef __STUDY_VERSION_001__
#define __STUDY_VERSION_001__

#include "../study.h"

class study_v1 : public study
{

  public:
    study_v1();
    virtual ~study_v1();

    virtual bool start();


  protected:
/**
 * correct neuron
 * 1st: neuron id
 * 2nd: synapse id
 */
     void correctNeuron(int, int);

/**
 * study for one cicle
 */
     double study4OneCicle();
     void findNeuronMaxError(int&, int&);

     /**
      * get error after study
      */
          double studyError();

protected:
      double              error_after_study;
};

#endif //__STUDY_VERSION_001__
